﻿using NationalInstruments.TestStand.Interop.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CLVisionCommuInterface
{
    public interface ICLVisionCommu
    {
        bool Init(int threadIndex, string configFilePath, out int ErrorCode, out string ErrorText);
        bool SendConstantData(string constantName, double constantValue, out int ErrorCode, out string ErrorText);
        bool SendObjectData(int objectID, PropertyObject containerToSendValue, out int ErrorCode, out string ErrorText);
        bool ReceiveConstantData(string constantName, out double value, out int ErrorCode, out string ErrorText);
        bool ReceiveObjectData(int objectID, PropertyObject containerToReceiveValue, out int ErrorCode, out string ErrorText );
    }
}
    